# Open a modal with a modal and then close the first one

**URL:** <https://forum.adalo.com/t/open-a-modal-with-a-modal-and-then-close-the-first-one/36116>\
**Category:** Get Help\
**Created:** [February 8, 2023, 1:59pm UTC](https://forum.adalo.com/t/open-a-modal-with-a-modal-and-then-close-the-first-one/36116 "2023-02-08T13:59:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toms](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/toms/32/27427_2.png) [@Toms](https://forum.adalo.com/u/Toms)\
**Post date:** [February 8, 2023, 1:59pm UTC](https://forum.adalo.com/t/open-a-modal-with-a-modal-and-then-close-the-first-one/36116/1 "2023-02-08T13:59:27Z")

</div>

I have the following use-case:

- Chatscreen with functionality to add picture, file, etc.

- I don’t want the bottom bar to be too crowded to keep as much space for the chat input field.

- So ideally one icon next to it (plus), instead of this:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/3/5/354b2392d7f06eea972c2cf129a72a9cb89e12ec.png)

- This would open this modal:  

- Clicking on photo should open the next modal and close the previous one:  

Any idea how I could achieve this?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [February 18, 2023, 2:00pm UTC](https://forum.adalo.com/t/open-a-modal-with-a-modal-and-then-close-the-first-one/36116/2 "2023-02-18T14:00:04Z")

</div>

Closed on February 18, 2023, 2:00pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
