Literally, it is of the bathroom, but that literal wording is not how English normally says it.
In this sentence, del baño identifies which soap dish we mean: the one associated with the bathroom. In natural English, that usually becomes:
So it is mainly a way of specifying location or association.
Both caer and caerse can refer to falling, but caerse is very common when something or someone falls down in an actual incident, often unexpectedly or accidentally.
So:
In everyday Spanish, se cayó al suelo sounds very natural for something that accidentally fell onto the floor.
The se here usually is not translated as itself. It is just part of the way this verb is often used.
Because romper and romperse work differently.
In your sentence, the soap dish is the thing that might have become broken, so Spanish uses romperse:
If you said no rompió, it would sound incomplete, because romper normally needs an object: didn’t break what?
They are similar in form, but not exactly identical in function.
In both cases, se is not usually translated literally. It is part of the verb pattern that Spanish uses for these kinds of events.
A useful way to think about it is:
Because the sentence describes completed events in the past:
The preterite is the normal tense for single finished actions like these.
Compare:
The imperfect would not fit as well here because this sentence is about one specific completed incident.
Because Spanish often leaves out subject pronouns when they are clear from context.
English needs it:
Spanish usually does not:
Here, it is clear that the subject is still la jabonera, so Spanish does not need to repeat ella.
In Spain, suelo is a very common word for floor or ground, and caerse al suelo is a very natural expression.
Piso can also mean floor in some contexts, but in Spain it very often means apartment/flat. Because of that, al suelo is the safest and most idiomatic choice here.
So for this sentence, al suelo sounds exactly right.